/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 用于间接使用的公共属性Entity
 * @author ZhaoHai
 * @version 2017-08-03
 */
public class SysIndirectInt extends DataEntity<SysIndirectInt> {
	
	private static final long serialVersionUID = 1L;
	private String keyName;		// 名称
	private String contentValue;		// 公共属性的值
	
	public SysIndirectInt() {
		super();
	}

	public SysIndirectInt(String id){
		super(id);
	}

	@Length(min=0, max=60, message="名称长度必须介于 0 和 60 之间")
	public String getKeyName() {
		return keyName;
	}

	public void setKeyName(String keyName) {
		this.keyName = keyName;
	}
	
	@Length(min=0, max=32, message="公共属性的值长度必须介于 0 和 32 之间")
	public String getContentValue() {
		return contentValue;
	}

	public void setContentValue(String contentValue) {
		this.contentValue = contentValue;
	}
	
}